package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.domain.Resource;
import cn.wolfcode.crm.mapper.ResourceMapper;
import cn.wolfcode.crm.service.IResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResourceServiceImpl implements IResourceService {
    @Autowired
    private ResourceMapper resourceMapper;

    @Override
    public List<Resource> listAll() {
        return resourceMapper.selectAll();
    }
}
